<?php
$data['code'] = 0;
$data['msg'] = '';
$data['count'] = 5;
$data['data'] = array(
  0=>array(
    'id'=>1,"number"=>"SP123516","name"=>"华为手机","unit_name"=>"个"
  ),
  1=>array(
    'id'=>2,"number"=>"SP123516","name"=>"华为手机","unit_name"=>"个"
  ),
  2=>array(
    'id'=>3,"number"=>"SP123516","name"=>"小米手机","unit_name"=>"个"
  ),
  3=>array(
    'id'=>4,"number"=>"SP123516","name"=>"华为手机","unit_name"=>"个"
  ),
  4=>array(
    'id'=>5,"number"=>"SP123516","name"=>"小米手机","unit_name"=>"个"
  ),
  5=>array(
    'id'=>6,"number"=>"SP123516","name"=>"华为手机","unit_name"=>"个"
  ),

);
echo json_encode($data);